<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户信息</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="js/web1.js"></script>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
<style>
.AreaR {
	margin-right: 10px;
}

.txt {
	width: 28%;
}
</style>
</head>
<body style="min-width: 980px;">
	<div id="main_top">
		<jsp:include page="headarea.jsp"></jsp:include>
	</div>
	<div class="header_wrape">
		<div class="navwrape">
			<div id="nave">
				<div class="navbare clearfix">
					<a class="currente" href="menu.jsp">首页</a> <a href="#">衣服</a> <a
						href="#">鞋靴</a> <a href="#">裤子</a>
				</div>
			</div>
		</div>
	</div>
	<div class="block box">
		<div class="blank"></div>
		<div id="ur_here">
			当前位置: <a href="menu.jsp">首页</a>
			<code>&gt;</code>
			用户信息
		</div>
	</div>
	<div>
		<div id="main_middle_left">
			<jsp:include page="left.jsp">
				<jsp:param value="1" name="index" />
			</jsp:include>
		</div>
		<div id="main_middle_right">
			<div class="AreaR">
				<div class="box">
					<div class="box_1">
						<div class="userCenterBox boxCenterList clearfix"
							style="_height: 1%;">
							<h5>
								<span>个人资料</span>
							</h5>
							
							<form action="EditServlet" method="get">
							    
								<table width="100%" border="0" cellpadding="5" cellspacing="1"
									bgcolor="#dddddd">
									<tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">性 别：</td>
										<td width="72%" align="left" bgcolor="#FFFFFF">
										    <input type="radio"  ${users.uSex == '男' ? 'checked' : ''}  name="uSex" value="男" /> 男&nbsp;&nbsp; 
											<input type="radio"  ${users.uSex == '女' ? 'checked' : ''}  name="uSex" value="女" /> 女&nbsp;&nbsp;
									   </td>
                                    </tr>
                                    <tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">手机号码：</td>
										<td width="72%" align="left" bgcolor="#FFFFFF"><input
											name="uPhone" type="text" class="inputBg" value="${users.uPhone }" onkeyup="value=value.replace(/[^0-9]/g,'')" onpaste="value=value.replace(/[^0-9]/g,'')" oncontextmenu = "value=value.replace(/[^0-9]/g,'')"/></td>
									</tr>
									
									<tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">详细地址：</td>
										<td width="72%" align="left" bgcolor="#FFFFFF"><input
											name="uAddress" type="text" value="${users.uAddress }" size="25"
											class="inputBg" onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onpaste="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" oncontextmenu = "value=value.replace(/[^\u4E00-\u9FA5]/g,'')" /><span style="color: #FF0000"> *</span></td>
									</tr>

									
									<tr>
										<td colspan="2" align="center" bgcolor="#FFFFFF">
										<input type="submit" value="修改">
										</td>
									</tr>
								</table>
							</form>
							<form action="xiugaimm" method="post">
								<table width="100%" border="0" cellpadding="5" cellspacing="1"
									bgcolor="#dddddd">
									<tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">原密码：</td>
										<td width="76%" align="left" bgcolor="#FFFFFF"><input
											name="uPassword" type="password" size="25" class="inputBg" value="${users.uPassword }" /></td>
									</tr>
									<tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">新密码：</td>
										<td align="left" bgcolor="#FFFFFF"><input
											name="newPassword" type="password" size="25" class="inputBg" /></td>
									</tr>
									<tr>
										<td width="28%" align="right" bgcolor="#FFFFFF"
											style="font-size: 14px">确认密码：</td>
										<td align="left" bgcolor="#FFFFFF"><input
											name="newPassword" type="password" size="25" class="inputBg" /></td>
									</tr>
									<tr>
										<td colspan="2" align="center" bgcolor="#FFFFFF"><input
											type="hidden" name="uName" value="${uName}"><input
											type="submit" value="修改"> </td>
										
									</tr>
									<tr>
										<td>${error }</td>
									</tr>
								</table>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="blank"></div>
	</div>
	<div>
		<jsp:include page="returntop.jsp"></jsp:include>
	</div>
	<div id="end_div" style="margin-top: -16px;">
		<jsp:include page="end.jsp"></jsp:include>
	</div>
</body>